import request from '@/utils/request'

// 敏感词列列表
export function sensitive_wordLists(params?: Record<string, any>) {
    return request.get({ url: '/sensitive_word/list', params })
}

// 敏感词列详情
export function sensitive_wordDetail(params: Record<string, any>) {
    return request.get({ url: '/sensitive_word/detail', params })
}

// 敏感词列新增
export function sensitive_wordAdd(params: Record<string, any>) {
    return request.post({ url: '/sensitive_word/add', params })
}

// 敏感词列编辑
export function sensitive_wordEdit(params: Record<string, any>) {
    return request.post({ url: '/sensitive_word/edit', params })
}

// 敏感词列删除
export function sensitive_wordDelete(params: Record<string, any>) {
    return request.post({ url: '/sensitive_word/del', params })
}
